home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 44
/
Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso
/
Aminet
/
util
/
libs
/
asyncioppc.readme
< prev
next >
Wrap
Text File
|
2001-07-04
|
4KB
|
137 lines
Short: Asyncio.library with WarpOS functions (V40.6)
Author: achimste@gmx.de (Achim Stegemann)
Uploader: achimste@gmx.de (Achim Stegemann)
Version: 40.6
Type: util/libs
What was wrong in the last version ?
The dummy SPrintF-calls must not be removed !! Writing in PPC mode caused
severe mistakes again. See the source code !
Note for developers: If anybody has an ideaa, why the lib locks up, please
email me !
Notice:
This archive is EMAIL-WARE !!
..what da hell is dis ??
Simple... if you use it, simply send me a mail, so I know that
someone is using it !!
There is no copyright on it.
Requires:
* MC68020 or PPC-board with WarpOS V4 (powerpc.library 15.0 or better)
Introduction:
Many developer among you have used the asyncio.library, even me !
The latest version of that one was V39.2. It is now some years old but
still good for plain M68K Amigas.
I decided to continue developing the library for support of PPC-WOS.
I bumped the lib-version to V40.
Advantage of this enhanced asyncio.library:
* You dont need a PPC to use this library. You can still access all
V39 functions from a plain 68k-Amiga.
The library is split in two parts:
1. The original V39-M68k functions ! I.e V40 is (of course)
100% compatible to V39 !
2. The V40 part contains all V39 functions but converted to WarpOS.
The functions have simply a "PPC" added to the name, e.g
OpenAsync (M68K) goes OpenAsyncPPC.
Contents of the archive:
The archive contains the FULL SOURCE code for StormC 3.0.
You can use as a tutorial or whatever.
I simply have taken the source from original V39 source and
made the WOS port. That's all.
Also provided are include files for StormC and VBCC !
Developer information.. How to use it ?
The big advantage of asyncio_ppc is, that you can access a file from
both CPU sides !!
Example:
* Open a file in 68k mode
* Read datas in PPC mode
* Close the file in 68k mode
or whatever you like !!
Usage of functions:
It is important, that you must only use the M68k (V39) functions from
the 68k side and you must only use the PPC-funtions (V40) from the PPC side.
Example:
M68k: file=OpenAsync("test",MODE_READ,8192);
PPC: ReadAsyncPPC(file,buf,1000);
M68k: ReadAsync(file,buf,1000);
M68k: CloseAsync(file);
This one would be wrong:
PPC: WriteAsync(file,buf,len);
or
M68K: CloseAsyncPPC(file);
Understood ? Simple...
So don't mix up the functions !!
Note: It is important that you use several kBytes of buffer space, to avoid
CPU switches ! The larger the buffer, the less switches !!
I recommend using buffer between 16 kB and 64 kB.
Larger buffers usually dont enhance speed anymore.
Using asyncio V40 will give you no improvement, if you only use the
V39 functions !!
Tests:
The asyncio.library has been successfully tested with the
following programs:
* Digital Almanac II
* Digital Almanac III
* AmigaAMP
* AMPlifier
* CyberQT
* CyberAVI
* ACTION (from OS 3.9)
Enhance your application NOW !!
Feel free to use asyncio V40 as you like !!
Credits:
* Sven Ottemann for StormC linker libs and bugfix.
* Oliver Roberts for VBCC includes.
Internet: http://soft-ware.de/dalmanac
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
3127 1586 49.2% 19-Jun-01 21:59:18 +asyncioppc.readme
3812 782 79.4% 23-Oct-00 13:59:44 +asyncio_protos.h
2752 490 82.1% 01-Jun-01 00:39:12 +asyncio000.lib
5900 768 86.9% 01-Jun-01 00:39:12 +asyncio603.lib
1142 602 47.2% 23-Oct-00 13:59:44 +asyncio.h
1699 410 75.8% 23-Oct-00 13:59:44 +asyncio_lib.h
2121 488 76.9% 19-Jan-01 15:42:16 +asyncio_protos.h
2537 482 81.0% 19-Jan-01 18:12:28 +asyncio_protos.h
1142 602 47.2% 01-Jun-01 00:28:04 +asyncio.h
183 126 31.1% 19-Jan-01 16:07:42 +asyncio.h
15884 6893 56.6% 19-Jun-01 21:56:58 +asyncio.library
12948 3118 75.9% 19-Jun-01 21:56:10 +async.c
681 367 46.1% 19-Jun-01 21:56:10 +async.h
806 277 65.6% 01-Jun-01 00:25:00 +asyncio.fd
1700 410 75.8% 19-Jun-01 21:56:10 +asyncio_lib.h
13098 3414 73.9% 19-Jun-01 21:59:56 +async_ppc.c
211 144 31.7% 19-Jun-01 21:56:10 +Lib.c
1034 442 57.2% 19-Jun-01 21:56:10 +ppcasyncio.¶
1862 612 67.1% 19-Jun-01 21:56:10 +ppcasyncio_ppc.¶
-------- ------- ----- --------- --------
72639 22013 69.6% 23-Jun-101 01:52:44 19 files